package com.linciping.sample.nativecrash

import android.os.Bundle
import android.widget.Button
import androidx.appcompat.app.AppCompatActivity

class MainActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)
        val btnJavaCrash = findViewById<Button>(R.id.btn_java_crash)
        btnJavaCrash.setOnClickListener {
            NativeCrashUtils.test()
        }
    }
}